// 过滤符合国别的数据并转换map格式
export const parseEmployeeExtendInfoList = (employeeExtendInfoList, countryNameCode) => {
    const result = {};
    if (employeeExtendInfoList?.length) {
        employeeExtendInfoList
            .filter(item => item.countryNameCode === countryNameCode)
            .forEach(item => {
                result[item.fieldCode] = item.fieldValue;
            });
    }
    return result;
};
